package com.qf.service;

import com.github.pagehelper.PageInfo;
import com.qf.pojo.User;

import java.util.List;

/**
 * @author yj
 * @description
 * @date
 */
public interface UserService {
    public User login(String tel);
    public User register(User user);

    public PageInfo<User> findAll(int p, int size);
    public User updateUser(User user);
    public Boolean deleteUser(int id);
    public User addUser(User user);

}
